/*
 * @Author: Yang qiuyou wangyi168359476@163.com
 * @Date: 2024-07-26 11:15:02
 * @LastEditors: 武兴创 superjava@vip.qq.com
 * @LastEditTime: 2024-08-28 17:39:26
 * @FilePath: \SGFEM\DataStructure\FEM\Property\include\PELASData.h
 * @Description: PELAS   标量弹簧单元属性
 *
 */

#pragma once

#include "DataStructure/Common/DataStructureNamespace.h"
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"
#include "DataStructure/Input/Property/PropertyBase.h"
SG_DATASTRUCTURE_FEM_NAMESPACE_OPEN
/// @brief 标量弹簧单元属性
///
struct PELASData : PropertyBase
{
    SG::DataStructure::Common::Real m_K        = 0.0;  ///< 刚度系数
    SG::DataStructure::Common::Real m_D        = 0.0;  ///< 阻尼系数
    SG::DataStructure::Common::Real m_S        = 0.0;  ///< 应力计算系数
    SG::DataStructure::Common::Id   m_domainId = 0;
};

DECLSPEC bool operator== (const PELASData &a, const PELASData &b);

SG_DATASTRUCTURE_FEM_NAMESPACE_CLOSE